package com.coderman.daoclient.connections;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * Created by ${fanchunshuai} on 2017-7-27.
 *
 * @version: V1.0
 * @Desc: jdbc连接创建工厂
 * @Copyright (c) 2017 58到家-版权所有
 */
public interface ConnectionFactory {
    /**
     * 创建并返回一个可用的连接
     * @return
     * @throws SQLException
     */
    Connection createConnection() throws SQLException;
}
